﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 纸片人.AttributeUsageFloder
{
    [AttributeUsage(AttributeTargets.Field,AllowMultiple =false,Inherited =false)]
    public  class ShaderInfoAttribute:Attribute
    {
        public string ShaderName { get;  }
        public string Path { get; }
        public string Desc { get; }

        public ShaderInfoAttribute(string shanderName,string path,string desc="")
        {
            ShaderName = shanderName;
            Path = path;

            Desc = desc;
        }
    }
}
